checkout: Fix bare-user symlink checkouts
authorColin Walters <walters@verbum.org>
Tue, 18 Apr 2017 14:13:45 +0000 (10:13 -0400)
committerColin Walters <walters@verbum.org>
Tue, 18 Apr 2017 21:13:18 +0000 (17:13 -0400)
commit53b9b50e3646c2ccea184e0a1b316e466c62e322
tree3db1fc7287c3094a3858f8003abc820ec01116b3
parent8742287b117cb8a04d4106d37bfe0e15f9666ef7
checkout: Fix bare-user symlink checkouts

Logic error introduced after refactoring; we hoisted the
`is_bare_user_symlink` variable to the top, but its computation
below.  But the `is_bare` symlink depended on it.

Closes: https://github.com/ostreedev/ostree/issues/798
Closes: #799
Approved by: jlebon
src/libostree/ostree-repo-checkout.c
tests/basic-test.sh